Optimal. Leaf size=66 \[ \frac{(d x)^{m+1} \left (a+b \csc ^{-1}(c x)\right )}{d (m+1)}+\frac{b (d x)^m \, _2F_1\left (\frac{1}{2},-\frac{m}{2};1-\frac{m}{2};\frac{1}{c^2 x^2}\right )}{c m (m+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.043359, antiderivative size = 66, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.214, Rules used = {5221, 339, 364} \[ \frac{(d x)^{m+1} \left (a+b \csc ^{-1}(c x)\right )}{d (m+1)}+\frac{b (d x)^m \, _2F_1\left (\frac{1}{2},-\frac{m}{2};1-\frac{m}{2};\frac{1}{c^2 x^2}\right )}{c m (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5221
Rule 339
Rule 364
Rubi steps
\begin{align*} \int (d x)^m \left (a+b \csc ^{-1}(c x)\right ) \, dx &=\frac{(d x)^{1+m} \left (a+b \csc ^{-1}(c x)\right )}{d (1+m)}+\frac{(b d) \int \frac{(d x)^{-1+m}}{\sqrt{1-\frac{1}{c^2 x^2}}} \, dx}{c (1+m)}\\ &=\frac{(d x)^{1+m} \left (a+b \csc ^{-1}(c x)\right )}{d (1+m)}-\frac{\left (b \left (\frac{1}{x}\right )^m (d x)^m\right ) \operatorname{Subst}\left (\int \frac{x^{-1-m}}{\sqrt{1-\frac{x^2}{c^2}}} \, dx,x,\frac{1}{x}\right )}{c (1+m)}\\ &=\frac{(d x)^{1+m} \left (a+b \csc ^{-1}(c x)\right )}{d (1+m)}+\frac{b (d x)^m \, _2F_1\left (\frac{1}{2},-\frac{m}{2};1-\frac{m}{2};\frac{1}{c^2 x^2}\right )}{c m (1+m)}\\ \end{align*}
Mathematica [A] time = 0.172998, size = 83, normalized size = 1.26 \[ \frac{(d x)^m \left ((m+1) x \left (a+b \csc ^{-1}(c x)\right )+\frac{b \sqrt{1-c^2 x^2} \, _2F_1\left (\frac{1}{2},\frac{m+1}{2};\frac{m+3}{2};c^2 x^2\right )}{c \sqrt{1-\frac{1}{c^2 x^2}}}\right )}{(m+1)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 2.089, size = 0, normalized size = 0. \begin{align*} \int \left ( dx \right ) ^{m} \left ( a+b{\rm arccsc} \left (cx\right ) \right ) \, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (b \operatorname{arccsc}\left (c x\right ) + a\right )} \left (d x\right )^{m}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (d x\right )^{m} \left (a + b \operatorname{acsc}{\left (c x \right )}\right )\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b \operatorname{arccsc}\left (c x\right ) + a\right )} \left (d x\right )^{m}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]